<template>
  <el-row class="pagetool">
    <i class="el-icon-info"></i>
    <span>数据一共{{ counts }}条</span>
  </el-row>
</template>

<script>
export default {
  name: 'questions-pagetool',
  props: {
    counts: {
      type: Number,
      required: true
    }
  }
}
</script>

<style lang="less" scoped>
  .pagetool {
    display: flex;
    align-items: center;
    background-color: #f4f4f5;
    padding: 8px 16px;
    border-radius: 4px;
    color: #909399;
    margin-bottom: 20px;
    i {
      font-size: 16px;
      margin-right: 6px;
    }
    span {
      font-size: 12px;
    }
  }
</style>
